const fs = require('fs');

const globalConf = {};
const confs = fs.readFileSync('./server.conf', 'utf-8').split('\r\n');
confs.forEach(item => {
    const params = item.split('=');
    globalConf[params[0]] = params[1];
})

module.exports = globalConf;